#!/bin/bash 

echo "打包文件"
yarn build
echo "传输文件"

scp -P 端口 -r ./dist/** root@ip地址:目录

echo "部署成功"